<?php

function __autoload($class) {
    $parts = explode("\\",$class);
    if ($parts[0] != "PHD")
        die;
		
    require ROOT ."/class/" . $parts[1] . ".php";
}